//
//  FourthModel.m
//  NewMusic
//
//  Created by chuxinyu123 on 15/11/23.
//  Copyright © 2015年 Going. All rights reserved.
//

#import "FourthModel.h"

@implementation FourthModel

- (instancetype)initWithDictionary:(NSDictionary *)dictionary
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}

+ (FourthModel *)fourthModelWithDictionary:(NSDictionary *)dictionary
{
    FourthModel *fourthModel = [[FourthModel alloc] initWithDictionary:dictionary];
    return fourthModel;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

- (void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqual:@"height"]) {
        self.height = [NSString stringWithFormat:@"%@", value];
    }else if ([key isEqual:@"weight"]) {
        self.weight = [NSString stringWithFormat:@"%@", value];
    }else{
        [super setValue:value forKey:key];
    }
}
@end
